package com.ellricky.baselib.adapter.course

import androidx.fragment.app.Fragment
import com.andr.common.util.ResUtil
import com.ellricky.baselib.R
import com.ellricky.baselib.ui.base.BaseTabVpFragment

class MakeUpCourseListFragment : BaseTabVpFragment() {

    companion object {
        fun newInstance(): MakeUpCourseListFragment {
            val fragment = MakeUpCourseListFragment()
            return fragment
        }
    }

    override fun getFragmentList(): MutableList<Fragment> {
        return mutableListOf(MakeUpCourseFragment.newInstance("1"),
                MakeUpCourseFragment.newInstance("1"),
                MakeUpCourseFragment.newInstance("1"))
    }

    override fun getTabTitleList(): MutableList<String> {
        return ResUtil.getStrArr(requireContext(), R.array.base_make_up_tip)
                .toMutableList()
    }

    override fun getTitleRes(): Int {
        return R.string.base_make_up_title
    }
}